.back {
    font-size: 20px;
    margin-left: 10px;
    margin-top: -5px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
}

.chat {
    width: 100%;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    overflow: scroll;

    .right {
        max-width: 150px;
        padding: 5px;
        background: #fbbd34;
        border-radius: 10px;
        margin-left: auto;
        margin-right: 10px;
        margin-bottom: 10px;
        color: #000;
        display: inline-block;
        word-break: break-all;
        position: relative;
        padding-right: 50px;

        .time {

            position: absolute;
            bottom: -2px;
            right: 3px;
            font-size: 12px;
            color: #000;
            font-weight: bold;
            margin-bottom: 5px;
            display: inline-block;
            margin-right: 10px;
        }
    }

    .left {
        max-width: 150px;
        padding: 5px;
        background: #f5f5f5;
        border-radius: 10px;
        margin-left: 10px;
        margin-right: auto;
        margin-bottom: 10px;
        color: #000;
        display: inline-block;
        word-break: break-all;

        position: relative;
        padding-right: 50px;

        .time {

            position: absolute;
            bottom: -2px;
            right: 3px;
            font-size: 12px;
            color: #000;
            font-weight: bold;
            margin-bottom: 5px;
            display: inline-block;
            margin-right: 10px;
        }
    }
}

.footer {
    display: flex;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 10px;
    box-sizing: border-box;
    position: fixed;
    z-index: 100;

    .input {
        flex: 1;
        height: 100%;
        border: none;
        outline: none;
        padding: 0px 10px;
        box-sizing: border-box;
        font-size: 16px;
    }

    .phone {
        position: relative;
        border: none;
        top: 0;
        left: -30px;
        background: transparent;
    }

    .send {
        width: 40px;
        height: 40px;
        background: #fbbd34;
        border: none;
        outline: none;
        color: #000;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        border-radius: 50%;
        margin-top: -5px;
    }
}